package org.computate.model.dao;

import java.util.List;

import org.computate.model.item.WebAlbum;

import com.googlecode.objectify.Objectify;
import com.googlecode.objectify.Query;

public interface WebAlbumDao extends ComputateDao<WebAlbum> {
	public WebAlbum create();
	public WebAlbum put(WebAlbum item);
	public WebAlbum save(Object itemObject);
	public WebAlbum create(String name);
	public WebAlbum create(String name, String parentField, Long parentId, int getLevels);
	public WebAlbum get(Long id, int getLevels);
	public WebAlbum get(String name, int getLevels);
	public WebAlbum delete(Long id);
	public WebAlbum delete(WebAlbum item);
	public List<WebAlbum> list(int listLevels);
	public List<WebAlbum> list(Query<WebAlbum> query, int listLevels);
	public Objectify ofy();
}
